
package com.idealighter.game.games.orderma.handler;

import com.google.inject.Inject;

import com.idealighter.game.core.annotation.ReqMsgHandler;
import com.idealighter.game.games.orderma.manager.OderMaMgr;
import com.idealighter.game.games.orderma.message.ReqGangMsg;
import com.idealighter.game.message.core.ReqMessage;
import com.idealighter.game.message.core.ResMessage;
import com.idealighter.game.player.struct.Player;
import com.idealighter.game.server.handler.ReqMessageHandler;


@ReqMsgHandler(524119)
public class ReqGangHandler implements ReqMessageHandler {

  @Inject
  private OderMaMgr orderma;

  @Override
  public ResMessage action(Player player, ReqMessage message) {
    ReqGangMsg msg = (ReqGangMsg) message;
    orderma.gang(player, msg.getMj());

    return null;
  }
}
